package com.briup.server.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 角色详情VO实体，包含角色id、角色名称、角色描述、角色对应的权限等信息
 */
@Data
@Schema(description = "角色详情VO实体")
public class RoleDetailVO {
    @Schema(description = "角色ID")
    private Long id;
    @Schema(description = "角色名称")
    private String name;
    @Schema(description = "角色描述")
    private String remark;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "角色对应的菜单权限列表")
    private List<MenuVO> menuList;
}
